import React, {Component} from 'react';
import {Input} from 'antd';
import logo from "../../stylesheets/images/logo.png";

export default class SearchForm extends Component {


    render() {
        const Search = Input.Search;

        return (
            <div className="search-padding1 clearfix">
                <div className="col-md-6 hidden-xs hidden-sm">
                    <img className="welding-logo" src={logo} alt=""/>
                </div>
                <div className="col-md-2"/>
                <div className="col-md-3 col-sm-8 col-sm-12 search-padding2">
                    <Search placeholder="请输入关键词搜索本站内容"
                            onSearch={value => alert("您要搜索的内容是：" + value)}
                            enterButton="搜索"
                    />
                </div>
            </div>
        );
    }
}
